package com.lovo.stock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 角色类
 */
@Data
@TableName("t_role")
public class RoleBean {
    @TableId(value = "role_id",type = IdType.AUTO)
    private Integer roleId;
    //角色名称
    private String roleName;

    @TableField(exist = false)
    private List<JurisdictionBean> jurisdictionBeans;
}
